@import url(../../reset.css);

header{
    height: 80px;
    box-shadow: 0px 0px 3px 0px;
    margin-bottom: 23px;
    #hea{
        width: 1180px;
        height: 80px;
        margin: 0 auto;
        display: flex;
        justify-content:space-between;
        align-items: center;
        img{
            width: 178px;
            height: 52px;
        }
        .hea2{
            
            display: flex;
            align-items: center;
            font-size: 14px;
            p{  
                padding: 0px 26px;
                display: inline;
            }
            li{
                height: 80px;
                p{  
                    padding: 0px 26px;
                    display: inline;
                    height: 80px;
                    line-height: 80px;
                   
                }
            }
            li:nth-child(1){
               
                background: #80c4ae;
                
            }
             
        
        }
        .hea3{
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 380px;
            margin-right: 5px;
            
            border-radius: 3px;
            .hea3q{
                width: 280px;
                height: 34px;
                border: 1px solid #80c4ae;
                border-radius: 3px;
                display: flex;
                input:nth-child(1){
                    padding-left: 12px;
                    width: 56px;
                    color: #80c4ae;
                    background: url(../img1/userSet/ico2.gif)no-repeat;
                    background-position: 48px;
                    border-right: 1px solid #80c4ae;
                }
                input:nth-child(2){
                    width: 188px;
                    padding-left: 12px;
                    background: url(../img1/public/search.png)no-repeat;
                    background-size: 18px;
                    background-position:right ;
                }
            }
               p{
                   span:nth-child(2){
                       color: #80c4ae;
                   }
               } 
               .he{
                  
                .img{
                    width: 78px;
                    height: 78px;
                    
                }
                
                .hea3a{
                 width: 122px;
                 height: 269px;
                 background: url(../img1/login/jx.png) no-repeat;
                 background-size: cover;
                 position: absolute;
                 top: 70px;
                 right:180px;
                 display: none;
                 z-index: 99999;
                 padding-top: 20px;
                 .hea3a1{
                     width: 122px;
                     height: 40px;
                     line-height: 15px;
                     text-align: center;
                 }
                }
               }
              
            
            
        }
    }
}
// 广告图
#banner{
    width: 1180px;
    height: 350px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    .banp {
        width: 100000px;
        height: 350px;
        overflow: hidden;
        position: absolute;
        li{
            float: left;
            position: absolute;
        }
    }
    .ban{
        width: 197px;
        height: 250px;
        padding-top: 10px;
        background-color: rgba(37, 43, 117, .5);
        border-radius: 3px;
        position:absolute;
        top: 50px;
        right: 20px;
        li{
           height: 34px;
           line-height: 34px;
           font-size: 12px;
           color: #949ae4;
           margin-left: 20px;
           padding-left: 10px;
          
        }
        li:hover{
            background: url(../img1/index/left.png)no-repeat;
            background-position: 0px 13px;
            background-color: rgba(37, 43, 117, .8);
            border-radius: 10%;
        }
    }  
    nav{
        position: absolute;
        bottom: 0;
        height: 30px;
        width: 100%;
        line-height: 30px;
        text-align: center;
    }
    nav span{
        display: inline-block;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        background: grey;
        margin-left: 5px;
    }
    nav span.active{
        background: green;
    }
}
// <!-- 课程分类 -->
#guild{
    margin: 48px auto;
    width: 1180px;
    height: 514px;
 
    .guit{
        width: 1180px;
        height: 44px;
      
        display: flex;
        justify-content: space-between;
        align-items: center;
        .guitl{
              width: 100px;
              display: flex;
              justify-content: space-between;
            div{
                width: 6px;
                height: 20px;
                background-color: #74c6b3;
            }
            span{
                font-size: 17px;
            }
        }
        .guitr{
            width: 130px;
            display: flex;
            justify-content: space-evenly;
            .span{
                font-size: 17px;
                color: #74c6b3;
            }
            img{
                width: 12px;
                height: 12px;
            }
        }
    }
     .guib{
        //  display: flex;
        //  justify-content: space-between;
         
         li{
             width: 280px;
             height: 225px;
         float: left;
         margin-bottom: 20px;
         margin-left: 15px;
             box-shadow:  0 5px 5px yellow;
             img{
                 position: absolute;
             }
             .guib0{
                 height: 162px;
                 display: flex;
                 flex-direction: column;
                 justify-content: space-between;
               
                 span{
                    background-color: rgb(42, 54, 88);
                    height: 33px;
                    line-height: 33px;
                    opacity: .8;
                    
                 }
                 span:nth-child(1){
                     color: royalblue;
                     width: 71px;
                     text-align: center;
                     border-radius: 0px 0px 8px 0px ;
                 }
                 span:nth-child(2){
                    color: royalblue;
                    
                    padding-left: 12px;
                }
             }
             .guib1{
                 width: 280px;
                 height: 63px;
                 
                 padding: 0px 0px;
                 display: flex;
                 justify-content: space-between;
                 align-items: center;
                 
                .guib1a{
                    span{
                        line-height: 31px;
                        margin-left: 8px;
                    }
                    .guibaa{
                         color: #7a7a7a;
                    }
                }
                div{
                    width: 86px;
                    height: 30px;
                    line-height: 30px;
                    text-align: center;
                    background-color: #74c6b3;
                    color: white;
                    border-radius: 8px;
                    margin-right: 8px;
                }
             }
            }
     }
}
// <!-- 广告图 -->
.guangaotu{
    margin: 0px auto;
    img{
        margin: 0 auto;
    }
}
// 课程分类课程分类课程分类课程分类课程分类
#guild1{
    margin: 48px auto;
    width: 1180px;
    height: 514px;
 
    .guit{
        width: 1180px;
        height: 44px;
      
        display: flex;
        justify-content: space-between;
        align-items: center;
        .guitl{
              width: 100px;
              display: flex;
              justify-content: space-between;
            div{
                width: 6px;
                height: 20px;
                background-color: #74c6b3;
            }
            span{
                font-size: 17px;
            }
        }
        .guitr{
            width: 130px;
            display: flex;
            justify-content: space-evenly;
            .span{
                font-size: 17px;
                color: #74c6b3;
            }
            img{
                width: 12px;
                height: 12px;
            }
        }
    }
     .guib1{
        //  display: flex;
        //  justify-content: space-between;
        
         li{
            width: 380px;
             height: 225px;
             margin-left: 13px;
             margin-bottom: 20px;
             float: left;
             box-shadow:  0 5px 5px yellow;
             img{
                 position: absolute;
             }
             .guib0{
                 height: 162px;
                 display: flex;
                 flex-direction: column;
                 justify-content: space-between;
               
                 span{
                    background-color: rgb(42, 54, 88);
                    height: 33px;
                    line-height: 33px;
                    opacity: .8;
                    
                 }
                 span:nth-child(1){
                     color: royalblue;
                     width: 71px;
                     text-align: center;
                     border-radius: 0px 0px 8px 0px ;
                 }
                 p{width: 360px;
                   display: block;
                    background-color: royalblue;
                    
                    padding-left: 12px;
                    display: flex;
                    justify-content: space-between;
                }
             }
             .guib1{
                 width: 380px;
                 height: 63px;
                 
                 padding: 0px 0px;
                 display: flex;
                 justify-content: space-between;
                 align-items: center;
                 
                .guib1a{
                    span{
                        line-height: 31px;
                        margin-left: 8px;
                    }
                    .guibaa{
                         color: #7a7a7a;
                    }
                }
                div{
                    width: 86px;
                    height: 30px;
                    line-height: 30px;
                    text-align: center;
                    background-color: #74c6b3;
                    color: white;
                    border-radius: 8px;
                    margin-right: 8px;
                }
             }
            }
     }
}
// 最后的精品课程
#guild2{
    margin: 48px auto;
    width: 1180px;
    height: 514px;
    
    .guit{
        width: 1180px;
        height: 44px;
      
        display: flex;
        justify-content: space-between;
        align-items: center;
        .guitl{
              width: 100px;
              display: flex;
              justify-content: space-between;
            div{
                width: 6px;
                height: 20px;
                background-color: #74c6b3;
            }
            span{
                font-size: 17px;
            }
        }
        .guitr{
            width: 130px;
            display: flex;
            justify-content: space-evenly;
            .span{
                font-size: 17px;
                color: #74c6b3;
            }
            img{
                width: 12px;
                height: 12px;
            }
        }
    }
  img{
      float: right;
  }
     .guib3{
         width: 880px;
        //  display: flex;
        //  justify-content: space-between;
        
         li{
            //  width: 280px;
             height: 225px;
             margin-bottom: 20px;
             margin-left: 13px;
             float: left;
           
             box-shadow:  0 5px 5px yellow;
             img{
                 width: 280px   ;
                 position: absolute;
             }
             .guib0{
                 height: 162px;
                 display: flex;
                 flex-direction: column;
                 justify-content: space-between;
               
                 span{
                    background-color: rgb(42, 54, 88);
                    height: 33px;
                    line-height: 33px;
                    opacity: .8;
                    
                 }
                 span:nth-child(1){
                     color: royalblue;
                     width: 71px;
                     text-align: center;
                     border-radius: 0px 0px 8px 0px ;
                 }
                 span:nth-child(2){
                    color: royalblue;
                    
                    padding-left: 12px;
                }
             }
             .guib1{
                 width: 280px;
                 height: 63px;
                 
                 padding: 0px 0px;
                 display: flex;
                 justify-content: space-between;
                 align-items: center;
                 
                .guib1a{
                    span{
                        line-height: 31px;
                        margin-left: 8px;
                    }
                    .guibaa{
                         color: #7a7a7a;
                    }
                }
                div{
                    width: 86px;
                    height: 30px;
                    line-height: 30px;
                    text-align: center;
                    background-color: #74c6b3;
                    color: white;
                    border-radius: 8px;
                    margin-right: 8px;
                }
             }
            }
     }
}
// 3个小块
.fin{
    margin: 50px auto;
    width: 1180px;
    height: 100px;
  
    display: flex;
    justify-content: space-between;
}
// 一直在页面边三
.bin{
    width: 70px;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 60%;
    right: 5%;
    img{
        width: 70px;
        height: 70px;
    }
}
// 最后黑色大块部分
footer{
    width: 100%;
    height: 262px;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    p{
        margin: 0 auto;
        line-height: 23px;
        font-size: 12px;
        color: white;
        text-align: center;
    }
}